# -*- coding: utf-8 -*-
"""
 @Time    : 2021/1/28 下午5:05
 @Author  : tgy
 
"""
import sys

def test01():
    ...
    with open('./info.log',mode='at',encoding='utf-8') as f:
        ...
        print('123',file=f,end='')
        print('哈哈',file=f,end='')

if __name__ == '__main__':
    ...
    test01()
    print(sys.getdefaultencoding())